home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr10
/
qerecall.zip
/
FILESAVE.QM
next >
Wrap
Text File
|
1993-06-07
|
2KB
|
44 lines
* FILESAVE MACRO
* Written By Bradley M. Small Copyright 1993
* 313 Holt Ave
* Greensboro, NC 27405
* (919)272-6431
* If this solves any problems or shines a little sunshine into
* your life feel free to send me a buck, or an other good macro.
*
* Distribution Encouraged/Sale or inclusion in a sold product prohibited
*
* Saves for recall all filenames into the list c:\qedit.mac\recall.qed
* recall.mac is used to load them at startup
*
*
^x MacroBegin
SetScreenOff SetSoundOff
Gsave
EditFile "c:\qedit.mac\recall.qed" return
* edit recall file
MarkLine Endfile DeleteBlock * clear file of its contents
CurrentFileName Return * put filename as first line
Loop:
NextFile BegFile * top line of next file
Markline find "c:\qedit.mac\recall.qed" return "gli" return
* if it is recall file
Jtrue Done: * then we are done
* else snatch Current file name
BegFile UnmarkBlock Addline * set up file name
BegLine DropAnchor * mark it
CurrentfileName DropAnchor *
Cut * cut it
Quit * Quit the file (it was saved already)
EndFile
Paste
* Put the file name on the command line
UnMarkBlock * Clean up
Jump Loop: * Check the next file
Done:
Begfile * goto top
MarkLine DeleteBlock * delete file name
SaveFile GExit * bye bye